import request from '@/utils/request'

// 查询调拨出库单列表
export function getSplitBill(query) {
  return request({
    url: '/bill/tray/list',
    method: 'get',
    params: query
  })
}

// 查询分拣单明细列表
export function getSplitBillDetailList(query) {
  return request({
    url: '/inOutStock/splitBillDetail/list',
    method: 'get',
    params: query
  })
}

// 执行分拣
export function executeSplit(data) {
  return request({
    url: '/inOutStock/splitBill/split',
    method: 'post',
	data
  })
}